package example.movieRental.beforeRF;

/**
 * Created by thinkpad on 2015/2/8.
 */
//Rental.java
public class Rental {
    private Movie movie;
    private int daysRented;

    public Rental(Movie movie, int daysRented) {
        this.movie = movie;
        this.daysRented = daysRented; //租期
    }
    public Movie getMovie() {
        return movie;
    }
    public int getDaysRented() {
        return daysRented;
    }
}
